﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DLL.MSDM.Entity
{
    public class Rootobject
    {
        public Logging Logging { get; set; }
        public string AllowedHosts { get; set; }
        public Connectionstrings ConnectionStrings { get; set; }
        public Scanbarresult[] ScanBarResults { get; set; }
        public Msrecorderconnectstring MsRecorderConnectString { get; set; }
    }

    public class Logging
    {
        public Loglevel LogLevel { get; set; }
    }

    public class Loglevel
    {
        public string Default { get; set; }
        public string MicrosoftAspNetCore { get; set; }
    }

    public class Connectionstrings
    {
        public string DefaultConnection { get; set; }
        public string MS_RecorderConstr { get; set; }
        public string EFCopyStr { get; set; }
        public string EFServerStr { get; set; }
        public string PivasStr { get; set; }
    }

    public class Msrecorderconnectstring
    {
        public string server { get; set; }
        public string database { get; set; }
        public string userId { get; set; }
        public string password { get; set; }
    }

    public class Scanbarresult
    {
        public string State { get; set; }
        public int Value { get; set; }
        public int CanFlush { get; set; }
    }
}